local module = {}
module.name = "Frames Mover"
module.Init = function()

   for i, v in pairs({ 
      "CharacterFrame",
      "PlayerTalentFrameHeaderFrame",
      "SpellBookFrame",
      "PVPFrame",
      "GuildFrame",
      "AchievementFrameHeader",
      "LootFrame",
      "TaxiFrame",
      "QuestFrame",
      "QuestLogFrame",
      "QuestLogDetailFrame",
      "MerchantFrame",
      "TradeFrame",
      "BankFrame",
      "FriendsFrame",
      "CinematicFrame",
      "TabardFrame",
      "PVPBannerFrame",
      "GuildRegistrarFrame",
      "ArenaRegistrarFrame",
      "PetitionFrame",
      "HelpFrame",
      "GossipFrame",
      "MailFrame",
      "BattlefieldFrame",
      "PetStableFrame",
      "WorldStateScoreFrame",
      "DressUpFrame",
      "MinigameFrame",
      "LFGParentFrame",
      "LFDParentFrame",
      "LFRParentFrame",
      "ArenaFrame",
      "ChatConfigFrame",
      "PVPParentFrame",
   }) do
      if _G[v] then
         --if UIPanelWindows[v] then UIPanelWindows[v] = nil end
         _G[v]:EnableMouse(true)
         _G[v]:SetMovable(true)
         _G[v]:SetResizable(true)
         _G[v]:SetClampedToScreen(true)
         _G[v]:RegisterForDrag("LeftButton")
         _G[v]:SetScript("OnDragStart", function(self) self:StartMoving() end)
         _G[v]:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end)
      end
   end
   
end
tinsert(SuperClassic.modules, module) -- finish him!